home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’87 / Source ƒ.sit / Source ƒ / communications source ƒ / Vax Xmodem to MacTerminal / MACX.HLB < prev    next >
Encoding:
Text File  |  1987-02-21  |  9.0 KB  |  5 lines  |  [TEXT/MARC]

  1. Å%Ï
  2. VAX-11 Librarian V03-00‡˛Ãë§ç¿«›ë§ç†5 MACX≠¿«›ë§ç1 MACXLMACX lets you upload Macintosh files to the VAX and download Macintosh filesIfrom the VAX.  The files can be of any type, including MacPaint pictures,2formatted MacWrite files, fonts, and applications.ETo use MACX, you MUST be running MacTerminal (you can't use any other;terminal program), and your file transfer settings must be:-    Transfer Method   (*) XMODEM        ( ) Text.    Remote System     (*) MacTerminal   ( ) OtherHThe other settings don't matter.       Notice that you set "remote system" to<"MacTerminal" even though the remote system is really a VAX.JMACX commands can be abbreviated to one character.  C)atalog will show youNwhat files are available.  The main commands are C)atalog, U)pload, D)ownload,:and Q)uit.  Special commands are available for text files.    2 Catalog6C)atalog shows you what Macintosh files are available.JNotice that every Macintosh file has TWO NAMES: a Macintosh name and a VMSGname.  The Macintosh name is the name 
  3. the file had or will have on the LMacintosh; the VMS name is the name it has on the VMS system.  The MacintoshHname is for information only.  In MACX commands, you must ALWAYS use the    VMS name.GAdvanced users: VMS filenames for Macintosh files have a default ".MAC"Hextension.  The Catalog command can be followed by an optional directoryspecification.
  4. 2 DownloadGTo download a file, use the D command followed by the VMS name (NOT the3Macintosh name) of the file you want.  For example: DVMS name   Macintosh file       Type             Size  Last modified KBACKGAMN   Backgammon           Application       31K   9-DEC-1984 08:24:21KCALENDAR   calendar             Application       23K  25-AUG-1984 17:44:34Ato download the Backgammon application, you would use the command    MACX>d backgamnKMACX will automatically trigger MacTerminal to receive the file; you do not+need to pull down any MacTerminal commands.2 UploadGTo upload a file, use the U command.  If you  use U by itself, MACX willBautomatically name the VMS file by taking the first 9 alphanumericEcharacters in the Macintosh file name.  If you want to choose the VMS(file name yourself, type it after the U:    MACX>u mynameLVMS file names are limited to 9 characters which must be letter or numerals.9You may NOT use spaces or punctuation in a VMS file name.IAfter issuing the U)pload command, you must then tell MacTerminal to send;the file by pulling down "Send file..." from the File menu
  5. .2 TextKMany Macintosh applications produce "TEXT" documents; for example, MacWriteGif you save "Text only."  Macintosh "TEXT" documents are fairly easy to%exchange with other computer systems.MSuppose that "TEXTDOC.MAC" is the VMS file name of a Macintosh text document.KYou cannot use TEXTDOC.MAC directly under VMS; although it is stored in theKVMS system, it is not stored in the normal VMS text format, but in a formatJthe mirrors the Macintosh format.  For example, you could not meaningfullyIedit TEXTDOC.MAC with EDT or TECO.  MACX does, however, provide tools for=converting Macintosh text format to and from VMS text format.LThe tools are TYPE, PRINT, IMPORT, EXPORT; these commands can be abbreviatedDto their initial character if desired. In addition, UPLOAD/TEXT and CDOWNLOAD/TEXT provide direct Mac-to-VMS text uploads and downloads.3 TypeThe MACX command    MACX>TYPE TEXTDOCJwill display TEXTDOC on the screen.  TEXTDOC must be a Macintosh text fileKappearing in the MACX catalog; that is, it must have a VMS ".MAC" extensionand a Macintosh "TEXT" type.FLines exceeding 79 characters will be wrapped.  The wrap length can be4changed by including a /WRAP qualifier; for example,    MACX>TYPE TEXTDOC/WRAP=723 PrintThe MACX command    MACX>PRINT TEXTDOCFwill print TEXTDOC on the system printer.  TEXTDOC must be a MacintoshKtext file appearing in the MACX catalog; that is, it must have a VMS ".MAC"&extension and a Macintosh "TEXT" type.FLines exceeding 79 characters will be wrapped.  The wrap length can be4changed by including a /WRAP qualifier; for example,    MACX>PRINT TEXTDOC/WRAP=72EPrinters other than the system printer can be specified with the /OUTqualifier; for example,    MACX>PRINT TEXTDOC/OUT=QUME:3 Import3 Export3 Upload9    MACX>UPLOAD filename.ext/TEXT        performs a "text upload."Ka) The file you send must be a Macintosh text file.  Examples of text filesFare: MacWrite files you save using the "TEXT O NLY" option; MacTerminalHdocuments; files produced by MockWrite or captured by MockTerminal; and <MS-BASIC programs that have been saved with the TEXT option.Lb) "filename.ext" should be a full VMS filename with extension; for example,-"note.txt".  Do NOT use the extension ".mac".Mc) You should use the normal MACX file transfer settings: XMODEM/MacTerminal.Do NOT use any other settings.Fd) When the transfer is complete, the file will NOT appear in the MACXJcatalog.  It will appear in  the normal VMS directory with the filename andFextension you specified, and can be handled as a normal VMS text file.
  6. 3 Download=    MACX>DOWNLOAD filename.ext/TEXT        performs a "text download."La) "filename.ext" should be a full VMS filename with extension; for example,I"note.txt" or "letter.rno".  The file must be a normal VMS text file, oneIthat you could edit with EDT or type out with TYPE.  These files will NOTappear in a MACX catalog.Mb) You should use the normal MACX file transfer settings: XMODEM/MacTerminal.Do NOT use any other settings.Gc) The downloaded file will appear on your Macintosh as a MacWrite TEXTfile.ww